import service from '@/utils/request'

// @Tags FdHealthManager
// @Summary 创建fdHealthManager表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FdHealthManager true "创建fdHealthManager表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /fdHealthManager/createFdHealthManager [post]
export const createFdHealthManager = (data) => {
  return service({
    url: '/fdHealthManager/createFdHealthManager',
    method: 'post',
    data
  })
}

// @Tags FdHealthManager
// @Summary 删除fdHealthManager表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FdHealthManager true "删除fdHealthManager表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /fdHealthManager/deleteFdHealthManager [delete]
export const deleteFdHealthManager = (data) => {
  return service({
    url: '/fdHealthManager/deleteFdHealthManager',
    method: 'delete',
    data
  })
}

// @Tags FdHealthManager
// @Summary 批量删除fdHealthManager表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除fdHealthManager表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /fdHealthManager/deleteFdHealthManager [delete]
export const deleteFdHealthManagerByIds = (data) => {
  return service({
    url: '/fdHealthManager/deleteFdHealthManagerByIds',
    method: 'delete',
    data
  })
}

// @Tags FdHealthManager
// @Summary 更新fdHealthManager表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FdHealthManager true "更新fdHealthManager表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /fdHealthManager/updateFdHealthManager [put]
export const updateFdHealthManager = (data) => {
  return service({
    url: '/fdHealthManager/updateFdHealthManager',
    method: 'put',
    data
  })
}

// @Tags FdHealthManager
// @Summary 用id查询fdHealthManager表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.FdHealthManager true "用id查询fdHealthManager表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /fdHealthManager/findFdHealthManager [get]
export const findFdHealthManager = (params) => {
  return service({
    url: '/fdHealthManager/findFdHealthManager',
    method: 'get',
    params
  })
}

// @Tags FdHealthManager
// @Summary 分页获取fdHealthManager表列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取fdHealthManager表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManager/getFdHealthManagerList [get]
export const getFdHealthManagerList = (params) => {
  return service({
    url: '/fdHealthManager/getFdHealthManagerList',
    method: 'get',
    params
  })
}

// @Tags FdHealthManager
// @Summary 获取全部健管师列表【服务中心】
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "获取全部健管师列表【服务中心】"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManager/getScHealthManagerList [get]
export const getScHealthManagerList = (params) => {
  return service({
    url: '/fdHealthManager/getScHealthManagerList',
    method: 'get',
    params
  })
}

// @Tags FdHealthManager
// @Summary 分页获取全部健管师列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取全部健管师列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManager/getAllHealthManagerList [get]
export const getAllHealthManagerList = (params) => {
  return service({
    url: '/fdHealthManager/getAllHealthManagerList',
    method: 'get',
    params
  })
}

// @Tags FdHealthManager
// @Summary 获取服务中心列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "获取服务中心列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /healthManager/getServiceCenterList [get]
export const getServiceCenterList = (params) => {
  return service({
    url: '/healthManager/getServiceCenterList',
    method: 'get',
    params
  })
}

// @Tags FdHealthManager
// @Summary 获取健管中心列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "获取健管中心列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /healthManager/getHealthManageCenterList [get]
export const getHealthManageCenterList = (params) => {
  return service({
    url: '/healthManager/getHealthManageCenterList',
    method: 'get',
    params
  })
}

// @Tags FdHealthManager
// @Summary 获取健管师排名【超管】
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "获取健管师排名【超管】"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManager/getHealthManagerRank [get]
export const getHealthManagerRank = (params) => {
  return service({
    url: '/fdHealthManager/getHealthManagerRank',
    method: 'get',
    params
  })
}

// @Tags FdHealthManager
// @Summary 获取健管师排名【服务中心】
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "获取健管师排名【服务中心】"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /fdHealthManager/getScHealthManagerRank [get]
export const getScHealthManagerRank = (params) => {
  return service({
    url: '/fdHealthManager/getScHealthManagerRank',
    method: 'get',
    params
  })
}